<?php echo form_open('admin/dataman/city_update');?>

	<h3><?php //echo lang('dataman.categories_list'); ?></h3>
	
	<div id="action"><?php $this->load->view('admin/partials/buttons', array('buttons' => array('save'))); ?></div>
	
	<table border="0" class="table-list">
		<?php 
			$options = array();
			$options[0] = '';
			foreach ( $state  as $obj ){
				$options[$obj->id] = stripslashes( $obj->name );
			}
		?>
		<tbody>
			<thead>
				<th><?php echo lang('dataman.field')?></th>
				<th><?php echo lang('dataman.name')?></th>
			</thead>
			<tr>
				<td><?php echo form_label( lang('dataman.content.form.state') ); ?></td>
				<td><?php echo form_input('city',$cities->city,'maxlength="100" size="50"'); ?></td>
			</tr>
			<tr>
				<td><?php echo form_label( lang('dataman.content.form.state') ); ?></td>
				<td><?php echo form_dropdown( 'region_id', $options, array( $cities->region_id ) ); ?></td>
			</tr>
			<?php echo form_hidden('id',$cities->id); ?>
		</tbody>
	</table>
	
<?php echo form_close(); ?>